package com.ljx.itbbs.server.user.service;

import com.ljx.itbbs.server.user.domain.vo.req.CheckCodeParamsReq;
import com.ljx.itbbs.server.user.domain.vo.resp.CheckCodeResp;

public interface CodeService {

    CheckCodeResp generate(CheckCodeParamsReq checkCodeParamsReq);

    Boolean verify(String key, String code);
}
